//package com.lizhi.updata;
//
//import java.util.ArrayList;
//
//import com.alibaba.fastjson.JSON;
//import com.lizhi.model.model2.SongModel;
//import com.lizhi.util.Util;
//
//public class UploadSong {
//	public static void main(String[] args) {
//		long time = System.currentTimeMillis();
//
//		ArrayList<SongModel> songModels = new ArrayList<SongModel>(20);
//		SongModel songModel = new SongModel();
//		songModel.auther = "王雅君";
//		songModel.brief = "";
//		songModel.href = "";
//		songModel.id = String.valueOf(time + 1);
//		songModel.lyric = "";
//		songModel.name = "隐形的翅膀";
//		songModel.type = "song";
//		songModel.songer = "张韶涵";
//		songModel.time = songModel.id;
//		songModel.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel.name);
//		songModels.add(songModel);
//
//		SongModel songModel2 = new SongModel();
//		songModel2.auther = "陈光荣";
//		songModel2.brief = "";
//		
//		songModel2.href = "";
//		songModel2.id = String.valueOf(time + 2);
//		songModel2.lyric = "";
//		songModel2.name = "挥着翅膀的女孩";
//		songModel2.type = "song";
//		songModel2.songer = "容祖儿";
//		songModel2.time = songModel2.id;
//		songModel2.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel2.name);
//		songModels.add(songModel2);
//
//		SongModel songModel3 = new SongModel();
//		songModel3.auther = "陈佳明";
//		songModel3.brief = "";
//		
//		songModel3.href = "";
//		songModel3.time = songModel3.id;
//		songModel3.id = String.valueOf(time + 3);
//		songModel3.lyric = "";
//		songModel3.name = "阳光总在风雨后";
//		songModel3.type = "song";
//		songModel3.songer = "许美静";
//		songModel3.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel3.name);
//		songModels.add(songModel3);
//
//		SongModel songModel4 = new SongModel();
//		songModel4.auther = "郑智化";
//		songModel4.brief = "";
//		songModel4.time = songModel4.id;
//		
//		songModel4.href = "";
//		songModel4.id = String.valueOf(time + 4);
//		songModel4.lyric = "";
//		songModel4.name = "水手";
//		songModel4.type = "song";
//		songModel4.songer = "";
//		songModel4.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel4.name);
//		songModels.add(songModel4);
//
//		SongModel songModel5 = new SongModel();
//		songModel5.auther = "";
//		songModel5.brief = "";
//		songModel5.time = songModel5.id;
//		songModel5.href = "";
//		songModel5.id = String.valueOf(time + 5);
//		songModel5.lyric = "";
//		songModel5.name = "我的未来不是梦";
//		songModel5.type = "song";
//		songModel5.songer = "张雨生";
//		songModel5.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel5.name);
//		songModels.add(songModel5);
//
//		SongModel songModel6 = new SongModel();
//		songModel6.auther = "";
//		songModel6.time = songModel6.id;
//		songModel6.brief = "";
//		
//		songModel6.href = "";
//		songModel6.id = String.valueOf(time + 6);
//		songModel6.lyric = "";
//		songModel6.name = "最初的梦想";
//		songModel6.type = "song";
//		songModel6.songer = "范玮琪";
//		songModel6.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel6.name);
//		songModels.add(songModel6);
//
//		SongModel songModel7 = new SongModel();
//		songModel7.auther = "周杰伦";
//		songModel7.brief = "";
//		
//		songModel7.time = songModel7.id;
//		songModel7.href = "";
//		songModel7.id = String.valueOf(time + 7);
//		songModel7.lyric = "";
//		songModel7.name = "蜗牛";
//		songModel7.type = "song";
//		songModel7.songer = "周杰伦";
//		songModel7.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel7.name);
//		songModels.add(songModel7);
//
//		SongModel songModel8 = new SongModel();
//		songModel8.auther = "";
//		songModel8.brief = "";
//		
//		songModel8.time = songModel8.id;
//		songModel8.href = "";
//		songModel8.id = String.valueOf(time + 8);
//		songModel8.lyric = "";
//		songModel8.name = "光芒";
//		songModel8.type = "song";
//		songModel8.songer = "张靓颖";
//		songModel8.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel8.name);
//		songModels.add(songModel8);
//
//		SongModel songModel9 = new SongModel();
//		songModel9.auther = "";
//		songModel9.brief = "";
//		songModel9.href = "";
//		songModel9.time = songModel9.id;
//		songModel9.id = String.valueOf(time + 9);
//		songModel9.lyric = "";
//		songModel9.name = "从头再来";
//		songModel9.type = "song";
//		songModel9.songer = "刘欢";
//		songModel9.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel9.name);
//		songModels.add(songModel9);
//
//		SongModel songModel10 = new SongModel();
//		songModel10.auther = "";
//		songModel10.brief = "";
//		songModel10.time = songModel10.id;
//		
//		songModel10.href = "";
//		songModel10.id = String.valueOf(time + 10);
//		songModel10.lyric = "";
//		songModel10.name = "我相信";
//		songModel10.type = "song";
//		songModel10.songer = "杨培安";
//		songModel10.des = Util.readLyric("/Users/lixinke/Documents/workspace/lyric/"+songModel10.name);
//		songModels.add(songModel10);
//		System.out.println(JSON.toJSON(songModels));
//		new UploadDataTask("/types/" + "song" + "/" + 0, JSON.toJSONString(songModels)).start();
//	}
//}
